package com.wps.wdztv6.domain.edit;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Data
public class OnNotifyCallback {

    @JSONField(name = "cmd")
    private String cmd;

    @JSONField(name = "body")
    private NotifyBody body;

    @Getter
    @Setter
    @ToString
    public static class NotifyBody {

        @JSONField(name = "file_id")
        private String fileId;

        @JSONField(name = "filesize")
        private Long fileSize;

        @JSONField(name = "filetype")
        private String fileType;

        @JSONField(name = "userid")
        private String userId;

        @JSONField(name = "permission")
        private String permission;

        @JSONField(name = "counts")
        private Integer counts;

        @JSONField(name = "maxcounts")
        private Integer maxcounts;

        @JSONField(name = "active")
        private Integer active;

        @JSONField(name = "result")
        private String result;

        @JSONField(name = "detail")
        private String detail;

        @JSONField(name = "operated_time")
        private Integer operatedTime;
    }
}
